package com.wbs.rest.model;


import java.util.List;
import java.util.Map;

public interface SqlModelResolver {

    List<Map> resolveParameter(String content, Map requestMap);

    SqlModelEnum resolveSqlModelEnum(List<Map> parameterList, String httpMethod);

    SqlModel resolveModel(String uri, List<Map> parameterMap, SqlModelEnum modelEnum);

    SqlModel resolvePageModel(String uri, Map parameterMap);

    SqlModel resolveBatchModel(String uri, List<Map> parameterList);

    SqlModel resolveMultiModel(String uri, Map parameterMap);

    boolean resolveCommonProperties(String uri, SqlModel sqlModel);

    void loadMapping();

    List<SqlModel> queryAllModels();
}
